<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/images/js/ckeditor/ckeditor.js"></script>
<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'mobile-phone-info-form',
	'enableAjaxValidation'=>false,
)); ?>
	<div class="row">
		<?php
			
			$basicPhone = $this->getBasicPhone($model->moep_id);
			
		?>
		
	</div>
	<?php echo $form->errorSummary($model); ?>
		<input type="hidden" name="MobilePhoneInfo[moep_id]" value="<?php echo $_GET['id']?>">
	<div class="row">
		<h1>
		<?php 
			echo $basicPhone['moep_name'].'----手机详情';
		?>
		</h1>
		<textarea id="MobilePhoneInfo[moepi_desc]" name="MobilePhoneInfo[moepi_desc]">
			<?php echo $model->moepi_desc?>
		</textarea>
		<script type="text/javascript">
			CKEDITOR.replace( 'MobilePhoneInfo[moepi_desc]' );
		</script>

		<?php echo $form->error($model,'moepi_desc'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->